import http from "./http";

// 寻医
export const getSeeDoctorApi = (params) => http.post("/seeDoctor", params);
//科室列表
export const getDepartments = () => http.get("/seedoctor/ks/all");
//科室详情列表
export const getDepartmentsAllNameApi = (params) =>
  http.post("/seedoctor/ks", params);
//科室详情进入医生列表
export const getDoctorListApi = (params) => http.post("/doctor", params);
//医生说
export const getNewApi = () => http.get("/new");
//城市选择
// export const getCityApi = () => http.get("/area/list");
// http://www.pudge.wang:3080/api/area/list

//  健康商城api
export const getHealthMail = () => http.get("/mall");

//首页
export const getIndex = () => http.get("/home");
//  详情页Api
export const getdetail = (params) => http.post("/mallDetail", params);
// 登录页面
export const getLoginApi = (data) => http.post("/login", data);
// 预约挂号医院列表
export const getRegistrationApi = (params) => http.get("/registration", params);
